package com.shadt.pay.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class InitData implements ServletContextListener {

	@Override
	public void contextDestroyed(ServletContextEvent arg0) {
		System.out.println("contextDestroyed");
	}

	@Override
	public void contextInitialized(ServletContextEvent arg0) {
		System.out.println("contextInitialized");
		new Thread(new Runnable() {
			public void run() {
				System.out.println(222);
			}
		});

	}

}
